//生产敌机
function productionEnemyPlane() {
 postMessage(1);
setTimeout("productionEnemyPlane()",3000);
}
productionEnemyPlane();

//敌机速度
function EnemyPlaneSpeed() {
postMessage(2);
setTimeout("EnemyPlaneSpeed()",10);
}
EnemyPlaneSpeed();


//生产敌机
function productionEnemyPlane1() {
 postMessage(11);
setTimeout("productionEnemyPlane1()",2000);
}
productionEnemyPlane1();

//敌机速度
function EnemyPlaneSpeed1() {
postMessage(21);
setTimeout("EnemyPlaneSpeed1()",10);
}
EnemyPlaneSpeed1();


//生产子弹
function generateBullet() {
postMessage(3);
setTimeout("generateBullet()",100);
}
generateBullet();

//子弹移动速度
function bulletSpeed() {
postMessage(4);
setTimeout("bulletSpeed()",1);
}
bulletSpeed();

